package com.example.treasure_back.model;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("user")
public class UserModel {
    @TableId
    private String email;
    private String username;
    private String password;
    private String avatar;
    private int coin;
    private int isValid;
}
